package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;

public class WdtQybOrder implements Cloneable {

    private Long id;

	@JSONField(name = "trade_id")
	private Long tradeId;

	@JSONField(name = "bad_reason")
	private String badReason;

	@JSONField(name = "trade_no")
	private String tradeNo;

	@JSONField(name = "platform_id")
	private Integer platformId;

	@JSONField(name = "shop_no")
	private String shopNo;

	@JSONField(name = "shop_name")
	private String shopName;

	@JSONField(name = "warehouse_type")
	private Integer warehouseType;

	@JSONField(name = "warehouse_no")
	private String warehouseNo;

	@JSONField(name = "src_tids")
	private String srcTids;

	@JSONField(name = "trade_status")
	private Integer tradeStatus;

	@JSONField(name = "consign_status")
	private Integer consignStatus;

	@JSONField(name = "trade_type")
	private Integer tradeType;

	@JSONField(name = "delivery_term")
	private Integer deliveryTerm;

	@JSONField(name = "freeze_reason")
	private Integer freezeReason;

	@JSONField(name = "refund_status")
	private Integer refundStatus;

	@JSONField(name = "fenxiao_type")
	private Integer fenxiaoType;

	@JSONField(name = "fenxiao_nick")
	private String fenxiaoNick;

	@JSONField(name = "trade_time")
	private Date tradeTime;

	@JSONField(name = "pay_time")
	private Date payTime;

	@JSONField(name = "customer_no")
	private String customerNo;

	@JSONField(name = "pay_account")
	private String payAccount;

	@JSONField(name = "buyer_nick")
	private String buyerNick;

	@JSONField(name = "receiver_name")
	private String receiverName;

	@JSONField(name = "receiver_province")
	private String receiverProvince;

	@JSONField(name = "receiver_city")
	private String receiverCity;

	@JSONField(name = "receiver_district")
	private String receiverDistrict;

	@JSONField(name = "receiver_address")
	private String receiverAddress;

	@JSONField(name = "receiver_mobile")
	private String receiverMobile;

	@JSONField(name = "receiver_telno")
	private String receiverTelno;

	@JSONField(name = "receiver_zip")
	private String receiverZip;

	@JSONField(name = "receiver_area")
	private String receiverArea;

	@JSONField(name = "receiver_ring")
	private String receiverRing;

	@JSONField(name = "receiver_dtb")
	private String receiverDtb;

	@JSONField(name = "toDeliver_time")
	private String toDeliverTime;

	@JSONField(name = "logistics_id")
	private Integer logisticsId;

	@JSONField(name = "logistics_name")
	private String logisticsName;

	@JSONField(name = "logistics_code")
	private String logisticsCode;

	@JSONField(name = "logistics_type")
	private Integer logisticsType;

	@JSONField(name = "logistics_no")
	private String logisticsNo;

	@JSONField(name = "buyer_message")
	private String buyerMessage;

	@JSONField(name = "cs_remark")
	private String csRemark;

	@JSONField(name = "remark_flag")
	private Integer remarkFlag;

	@JSONField(name = "print_remark")
	private String printRemark;

	@JSONField(name = "goods_type_count")
	private Integer goodsTypeCount;

	@JSONField(name = "goods_count")
	private BigDecimal goodsCount;

	@JSONField(name = "goods_amount")
	private BigDecimal goodsAmount;

	@JSONField(name = "post_amount")
	private BigDecimal postAmount;

	@JSONField(name = "other_amount")
	private BigDecimal otherAmount;

	@JSONField(name = "discount")
	private BigDecimal discount;

	@JSONField(name = "receivable")
	private BigDecimal receivable;

	@JSONField(name = "dap_amount")
	private BigDecimal dapAmount;

	@JSONField(name = "cod_amount")
	private BigDecimal codAmount;

	@JSONField(name = "ext_cod_fee")
	private BigDecimal extCodFee;

	@JSONField(name = "goods_cost")
	private BigDecimal goodsCost;

	@JSONField(name = "post_cost")
	private BigDecimal postCost;

	@JSONField(name = "paid")
	private BigDecimal paid;

	@JSONField(name = "weight")
	private BigDecimal weight;

	@JSONField(name = "profit")
	private BigDecimal profit;

	@JSONField(name = "tax")
	private BigDecimal tax;

	@JSONField(name = "tax_rate")
	private BigDecimal taxRate;

	@JSONField(name = "commission")
	private BigDecimal commission;

	@JSONField(name = "invoice_type")
	private BigDecimal invoiceType;

	@JSONField(name = "invoice_title")
	private String invoiceTitle;

	@JSONField(name = "invoice_content")
	private String invoiceContent;

	@JSONField(name = "salesman_id")
	private Integer salesmanId;

	@JSONField(name = "checker_id")
	private Integer checkerId;

	@JSONField(name = "fchecker_id")
	private Integer fcheckerId;

	@JSONField(name = "checkouter_id")
	private Integer checkouterId;

	@JSONField(name = "stockout_no")
	private String stockoutNo;

	@JSONField(name = "flag_name")
	private String flagName;

	@JSONField(name = "trade_from")
	private Integer tradeFrom;

	@JSONField(name = "single_spec_no")
	private String singleSpecNo;

	@JSONField(name = "raw_goods_count")
	private BigDecimal rawGoodsCount;

	@JSONField(name = "raw_goods_type_count")
	private Integer rawGoodsTypeCount;

	@JSONField(name = "currency")
	private String currency;

	@JSONField(name = "split_package_num")
	private Integer splitPackageNum;

	@JSONField(name = "invoice_id")
	private Integer invoiceId;

	@JSONField(name = "version_id")
	private Integer versionId;

	@JSONField(name = "modified")
	private Date modified;

	@JSONField(name = "created")
	private Date created;

	@JSONField(name = "id_card_type")
	private Integer idCardType;

	@JSONField(name = "id_card")
	private String idCard;

	// ====================
	@JSONField(name = "goods_list")
	private List<WdtQybOrderDetail> goodsList;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public List<WdtQybOrderDetail> getGoodsList() {
		return goodsList;
	}

	public void setGoodsList(List<WdtQybOrderDetail> goodsList) {
		this.goodsList = goodsList;
	}

	public Long getTradeId() {
		return tradeId;
	}

	public void setTradeId(Long tradeId) {
		this.tradeId = tradeId;
	}

	public String getBadReason() {
		return badReason;
	}

	public void setBadReason(String badReason) {
		this.badReason = badReason == null ? null : badReason.trim();
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo == null ? null : tradeNo.trim();
	}

	public Integer getPlatformId() {
		return platformId;
	}

	public void setPlatformId(Integer platformId) {
		this.platformId = platformId;
	}

	public String getShopNo() {
		return shopNo;
	}

	public void setShopNo(String shopNo) {
		this.shopNo = shopNo == null ? null : shopNo.trim();
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName == null ? null : shopName.trim();
	}

	public Integer getWarehouseType() {
		return warehouseType;
	}

	public void setWarehouseType(Integer warehouseType) {
		this.warehouseType = warehouseType;
	}

	public String getWarehouseNo() {
		return warehouseNo;
	}

	public void setWarehouseNo(String warehouseNo) {
		this.warehouseNo = warehouseNo == null ? null : warehouseNo.trim();
	}

	public String getSrcTids() {
		return srcTids;
	}

	public void setSrcTids(String srcTids) {
		this.srcTids = srcTids == null ? null : srcTids.trim();
	}

	public Integer getTradeStatus() {
		return tradeStatus;
	}

	public void setTradeStatus(Integer tradeStatus) {
		this.tradeStatus = tradeStatus;
	}

	public Integer getConsignStatus() {
		return consignStatus;
	}

	public void setConsignStatus(Integer consignStatus) {
		this.consignStatus = consignStatus;
	}

	public Integer getTradeType() {
		return tradeType;
	}

	public void setTradeType(Integer tradeType) {
		this.tradeType = tradeType;
	}

	public Integer getDeliveryTerm() {
		return deliveryTerm;
	}

	public void setDeliveryTerm(Integer deliveryTerm) {
		this.deliveryTerm = deliveryTerm;
	}

	public Integer getFreezeReason() {
		return freezeReason;
	}

	public void setFreezeReason(Integer freezeReason) {
		this.freezeReason = freezeReason;
	}

	public Integer getRefundStatus() {
		return refundStatus;
	}

	public void setRefundStatus(Integer refundStatus) {
		this.refundStatus = refundStatus;
	}

	public Integer getFenxiaoType() {
		return fenxiaoType;
	}

	public void setFenxiaoType(Integer fenxiaoType) {
		this.fenxiaoType = fenxiaoType;
	}

	public String getFenxiaoNick() {
		return fenxiaoNick;
	}

	public void setFenxiaoNick(String fenxiaoNick) {
		this.fenxiaoNick = fenxiaoNick == null ? null : fenxiaoNick.trim();
	}

	public Date getTradeTime() {
		return tradeTime;
	}

	public void setTradeTime(Date tradeTime) {
		this.tradeTime = tradeTime;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public String getCustomerNo() {
		return customerNo;
	}

	public void setCustomerNo(String customerNo) {
		this.customerNo = customerNo == null ? null : customerNo.trim();
	}

	public String getPayAccount() {
		return payAccount;
	}

	public void setPayAccount(String payAccount) {
		this.payAccount = payAccount == null ? null : payAccount.trim();
	}

	public String getBuyerNick() {
		return buyerNick;
	}

	public void setBuyerNick(String buyerNick) {
		this.buyerNick = buyerNick == null ? null : buyerNick.trim();
	}

	public String getReceiverName() {
		return receiverName;
	}

	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName == null ? null : receiverName.trim();
	}

	public String getReceiverProvince() {
		return receiverProvince;
	}

	public void setReceiverProvince(String receiverProvince) {
		this.receiverProvince = receiverProvince == null ? null : receiverProvince.trim();
	}

	public String getReceiverCity() {
		return receiverCity;
	}

	public void setReceiverCity(String receiverCity) {
		this.receiverCity = receiverCity == null ? null : receiverCity.trim();
	}

	public String getReceiverDistrict() {
		return receiverDistrict;
	}

	public void setReceiverDistrict(String receiverDistrict) {
		this.receiverDistrict = receiverDistrict == null ? null : receiverDistrict.trim();
	}

	public String getReceiverAddress() {
		return receiverAddress;
	}

	public void setReceiverAddress(String receiverAddress) {
		this.receiverAddress = receiverAddress == null ? null : receiverAddress.trim();
	}

	public String getReceiverMobile() {
		return receiverMobile;
	}

	public void setReceiverMobile(String receiverMobile) {
		this.receiverMobile = receiverMobile == null ? null : receiverMobile.trim();
	}

	public String getReceiverTelno() {
		return receiverTelno;
	}

	public void setReceiverTelno(String receiverTelno) {
		this.receiverTelno = receiverTelno == null ? null : receiverTelno.trim();
	}

	public String getReceiverZip() {
		return receiverZip;
	}

	public void setReceiverZip(String receiverZip) {
		this.receiverZip = receiverZip == null ? null : receiverZip.trim();
	}

	public String getReceiverArea() {
		return receiverArea;
	}

	public void setReceiverArea(String receiverArea) {
		this.receiverArea = receiverArea == null ? null : receiverArea.trim();
	}

	public String getReceiverRing() {
		return receiverRing;
	}

	public void setReceiverRing(String receiverRing) {
		this.receiverRing = receiverRing == null ? null : receiverRing.trim();
	}

	public String getReceiverDtb() {
		return receiverDtb;
	}

	public void setReceiverDtb(String receiverDtb) {
		this.receiverDtb = receiverDtb == null ? null : receiverDtb.trim();
	}

	public String getToDeliverTime() {
		return toDeliverTime;
	}

	public void setToDeliverTime(String toDeliverTime) {
		this.toDeliverTime = toDeliverTime == null ? null : toDeliverTime.trim();
	}

	public Integer getLogisticsId() {
		return logisticsId;
	}

	public void setLogisticsId(Integer logisticsId) {
		this.logisticsId = logisticsId;
	}

	public String getLogisticsName() {
		return logisticsName;
	}

	public void setLogisticsName(String logisticsName) {
		this.logisticsName = logisticsName == null ? null : logisticsName.trim();
	}

	public String getLogisticsCode() {
		return logisticsCode;
	}

	public void setLogisticsCode(String logisticsCode) {
		this.logisticsCode = logisticsCode == null ? null : logisticsCode.trim();
	}

	public Integer getLogisticsType() {
		return logisticsType;
	}

	public void setLogisticsType(Integer logisticsType) {
		this.logisticsType = logisticsType;
	}

	public String getLogisticsNo() {
		return logisticsNo;
	}

	public void setLogisticsNo(String logisticsNo) {
		this.logisticsNo = logisticsNo == null ? null : logisticsNo.trim();
	}

	public String getBuyerMessage() {
		return buyerMessage;
	}

	public void setBuyerMessage(String buyerMessage) {
		this.buyerMessage = buyerMessage == null ? null : buyerMessage.trim();
	}

	public String getCsRemark() {
		return csRemark;
	}

	public void setCsRemark(String csRemark) {
		this.csRemark = csRemark == null ? null : csRemark.trim();
	}

	public Integer getRemarkFlag() {
		return remarkFlag;
	}

	public void setRemarkFlag(Integer remarkFlag) {
		this.remarkFlag = remarkFlag;
	}

	public String getPrintRemark() {
		return printRemark;
	}

	public void setPrintRemark(String printRemark) {
		this.printRemark = printRemark == null ? null : printRemark.trim();
	}

	public Integer getGoodsTypeCount() {
		return goodsTypeCount;
	}

	public void setGoodsTypeCount(Integer goodsTypeCount) {
		this.goodsTypeCount = goodsTypeCount;
	}

	public BigDecimal getGoodsCount() {
		return goodsCount;
	}

	public void setGoodsCount(BigDecimal goodsCount) {
		this.goodsCount = goodsCount;
	}

	public BigDecimal getGoodsAmount() {
		return goodsAmount;
	}

	public void setGoodsAmount(BigDecimal goodsAmount) {
		this.goodsAmount = goodsAmount;
	}

	public BigDecimal getPostAmount() {
		return postAmount;
	}

	public void setPostAmount(BigDecimal postAmount) {
		this.postAmount = postAmount;
	}

	public BigDecimal getOtherAmount() {
		return otherAmount;
	}

	public void setOtherAmount(BigDecimal otherAmount) {
		this.otherAmount = otherAmount;
	}

	public BigDecimal getDiscount() {
		return discount;
	}

	public void setDiscount(BigDecimal discount) {
		this.discount = discount;
	}

	public BigDecimal getReceivable() {
		return receivable;
	}

	public void setReceivable(BigDecimal receivable) {
		this.receivable = receivable;
	}

	public BigDecimal getDapAmount() {
		return dapAmount;
	}

	public void setDapAmount(BigDecimal dapAmount) {
		this.dapAmount = dapAmount;
	}

	public BigDecimal getCodAmount() {
		return codAmount;
	}

	public void setCodAmount(BigDecimal codAmount) {
		this.codAmount = codAmount;
	}

	public BigDecimal getExtCodFee() {
		return extCodFee;
	}

	public void setExtCodFee(BigDecimal extCodFee) {
		this.extCodFee = extCodFee;
	}

	public BigDecimal getGoodsCost() {
		return goodsCost;
	}

	public void setGoodsCost(BigDecimal goodsCost) {
		this.goodsCost = goodsCost;
	}

	public BigDecimal getPostCost() {
		return postCost;
	}

	public void setPostCost(BigDecimal postCost) {
		this.postCost = postCost;
	}

	public BigDecimal getPaid() {
		return paid;
	}

	public void setPaid(BigDecimal paid) {
		this.paid = paid;
	}

	public BigDecimal getWeight() {
		return weight;
	}

	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}

	public BigDecimal getProfit() {
		return profit;
	}

	public void setProfit(BigDecimal profit) {
		this.profit = profit;
	}

	public BigDecimal getTax() {
		return tax;
	}

	public void setTax(BigDecimal tax) {
		this.tax = tax;
	}

	public BigDecimal getTaxRate() {
		return taxRate;
	}

	public void setTaxRate(BigDecimal taxRate) {
		this.taxRate = taxRate;
	}

	public BigDecimal getCommission() {
		return commission;
	}

	public void setCommission(BigDecimal commission) {
		this.commission = commission;
	}

	public BigDecimal getInvoiceType() {
		return invoiceType;
	}

	public void setInvoiceType(BigDecimal invoiceType) {
		this.invoiceType = invoiceType;
	}

	public String getInvoiceTitle() {
		return invoiceTitle;
	}

	public void setInvoiceTitle(String invoiceTitle) {
		this.invoiceTitle = invoiceTitle == null ? null : invoiceTitle.trim();
	}

	public String getInvoiceContent() {
		return invoiceContent;
	}

	public void setInvoiceContent(String invoiceContent) {
		this.invoiceContent = invoiceContent == null ? null : invoiceContent.trim();
	}

	public Integer getSalesmanId() {
		return salesmanId;
	}

	public void setSalesmanId(Integer salesmanId) {
		this.salesmanId = salesmanId;
	}

	public Integer getCheckerId() {
		return checkerId;
	}

	public void setCheckerId(Integer checkerId) {
		this.checkerId = checkerId;
	}

	public Integer getFcheckerId() {
		return fcheckerId;
	}

	public void setFcheckerId(Integer fcheckerId) {
		this.fcheckerId = fcheckerId;
	}

	public Integer getCheckouterId() {
		return checkouterId;
	}

	public void setCheckouterId(Integer checkouterId) {
		this.checkouterId = checkouterId;
	}

	public String getStockoutNo() {
		return stockoutNo;
	}

	public void setStockoutNo(String stockoutNo) {
		this.stockoutNo = stockoutNo == null ? null : stockoutNo.trim();
	}

	public String getFlagName() {
		return flagName;
	}

	public void setFlagName(String flagName) {
		this.flagName = flagName;
	}

	public Integer getTradeFrom() {
		return tradeFrom;
	}

	public void setTradeFrom(Integer tradeFrom) {
		this.tradeFrom = tradeFrom;
	}

	public String getSingleSpecNo() {
		return singleSpecNo;
	}

	public void setSingleSpecNo(String singleSpecNo) {
		this.singleSpecNo = singleSpecNo == null ? null : singleSpecNo.trim();
	}

	public BigDecimal getRawGoodsCount() {
		return rawGoodsCount;
	}

	public void setRawGoodsCount(BigDecimal rawGoodsCount) {
		this.rawGoodsCount = rawGoodsCount;
	}

	public Integer getRawGoodsTypeCount() {
		return rawGoodsTypeCount;
	}

	public void setRawGoodsTypeCount(Integer rawGoodsTypeCount) {
		this.rawGoodsTypeCount = rawGoodsTypeCount;
	}

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency == null ? null : currency.trim();
	}

	public Integer getSplitPackageNum() {
		return splitPackageNum;
	}

	public void setSplitPackageNum(Integer splitPackageNum) {
		this.splitPackageNum = splitPackageNum;
	}

	public Integer getInvoiceId() {
		return invoiceId;
	}

	public void setInvoiceId(Integer invoiceId) {
		this.invoiceId = invoiceId;
	}

	public Integer getVersionId() {
		return versionId;
	}

	public void setVersionId(Integer versionId) {
		this.versionId = versionId;
	}

	public Date getModified() {
		return modified;
	}

	public void setModified(Date modified) {
		this.modified = modified;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public Integer getIdCardType() {
		return idCardType;
	}

	public void setIdCardType(Integer idCardType) {
		this.idCardType = idCardType;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard == null ? null : idCard.trim();
	}

	@Override
	public WdtQybOrder clone() {
		WdtQybOrder order = null;
		try {
			order = (WdtQybOrder) super.clone(); // 浅复制
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		return order;
	}

	@Override
	public String toString() {
		return "WdtQybOrder [tradeId=" + tradeId + ", badReason=" + badReason + ", tradeNo=" + tradeNo
				+ ", platformId=" + platformId + ", shopNo=" + shopNo + ", shopName=" + shopName + ", warehouseType="
				+ warehouseType + ", warehouseNo=" + warehouseNo + ", srcTids=" + srcTids + ", tradeStatus="
				+ tradeStatus + ", consignStatus=" + consignStatus + ", tradeType=" + tradeType + ", deliveryTerm="
				+ deliveryTerm + ", freezeReason=" + freezeReason + ", refundStatus=" + refundStatus + ", fenxiaoType="
				+ fenxiaoType + ", fenxiaoNick=" + fenxiaoNick + ", tradeTime=" + tradeTime + ", payTime=" + payTime
				+ ", customerNo=" + customerNo + ", payAccount=" + payAccount + ", buyerNick=" + buyerNick
				+ ", receiverName=" + receiverName + ", receiverProvince=" + receiverProvince + ", receiverCity="
				+ receiverCity + ", receiverDistrict=" + receiverDistrict + ", receiverAddress=" + receiverAddress
				+ ", receiverMobile=" + receiverMobile + ", receiverTelno=" + receiverTelno + ", receiverZip="
				+ receiverZip + ", receiverArea=" + receiverArea + ", receiverRing=" + receiverRing + ", receiverDtb="
				+ receiverDtb + ", toDeliverTime=" + toDeliverTime + ", logisticsId=" + logisticsId
				+ ", logisticsName=" + logisticsName + ", logisticsCode=" + logisticsCode + ", logisticsType="
				+ logisticsType + ", logisticsNo=" + logisticsNo + ", buyerMessage=" + buyerMessage + ", csRemark="
				+ csRemark + ", remarkFlag=" + remarkFlag + ", printRemark=" + printRemark + ", goodsTypeCount="
				+ goodsTypeCount + ", goodsCount=" + goodsCount + ", goodsAmount=" + goodsAmount + ", postAmount="
				+ postAmount + ", otherAmount=" + otherAmount + ", discount=" + discount + ", receivable=" + receivable
				+ ", dapAmount=" + dapAmount + ", codAmount=" + codAmount + ", extCodFee=" + extCodFee + ", goodsCost="
				+ goodsCost + ", postCost=" + postCost + ", paid=" + paid + ", weight=" + weight + ", profit=" + profit
				+ ", tax=" + tax + ", taxRate=" + taxRate + ", commission=" + commission + ", invoiceType="
				+ invoiceType + ", invoiceTitle=" + invoiceTitle + ", invoiceContent=" + invoiceContent
				+ ", salesmanId=" + salesmanId + ", checkerId=" + checkerId + ", fcheckerId=" + fcheckerId
				+ ", checkouterId=" + checkouterId + ", stockoutNo=" + stockoutNo + ", flagName=" + flagName
				+ ", tradeFrom=" + tradeFrom + ", singleSpecNo=" + singleSpecNo + ", rawGoodsCount=" + rawGoodsCount
				+ ", rawGoodsTypeCount=" + rawGoodsTypeCount + ", currency=" + currency + ", splitPackageNum="
				+ splitPackageNum + ", invoiceId=" + invoiceId + ", versionId=" + versionId + ", modified=" + modified
				+ ", created=" + created + ", idCardType=" + idCardType + ", idCard=" + idCard + ", goodsList="
				+ goodsList + "]";
	}

}